//
//  CoinModel.swift
//  Exam-iOS
//
//  Created by 李胜锋 on 2018/3/8.
//  Copyright © 2018年 李胜锋. All rights reserved.
//

import Foundation
import ObjectMapper

class CoinModel: Mappable {
    var id: Int?
    var name: String?
    var price: Int?
    var productId: String?
    
    func mapping(map: Map) {
        id <- map["id"]
        name <- map["name"]
        price <- map["price"]
        productId <- map["productId"]
    }
    
    required init?(map: Map) { }
}



